home *** CD-ROM | disk | FTP | other *** search
- 15-05-1989
-
- EGA2EPS
- =======
-
- A TSR program to store EGA 640x350 screen to an EPS file
-
-
- Author:
-
- Alpo Värri, DSP Lab., Tampere University of Technology, Finland.
-
-
- Purpose:
-
- The purpose of EGA2EPS is to capture the screen in the EGA 640x350
- sixteen colour mode and store it to a file in Encapsulated PostScript
- (EPS) format. This enables a hardcopy of the screen to be printed
- using a PostScript compatible printer either directly or incorporated
- in another document using a document processing program which can
- import EPS files.
-
-
- Operation and usage:
-
- EGA2EPS is a memory resident program which means that it is first
- loaded to memory and later invoked within another program by pressing
- a "hotkey". After the memory resident program has completed its
- operation, it returns the control to the program from within it was
- called.
-
- EGA2EPS is loaded to memory by simply typing EGA2EPS at the DOS
- command prompt. There are no command line or other options. If
- the program cannot be loaded to memory for some reason, it displays
- an error message and exits.
-
- EGA2EPS can be activated by pressing the keys Alt, LeftShift and Z
- simultaneously. If the computer is not in the 640x350 16 colour mode,
- nothing happens. If the computer is in the correct mode, the screen
- is captured and stored to the file EGADUMP1.EPS in the default drive
- and directory. The completion of the operation is signaled with an
- audible tone from the PC's speaker. If the default drive has not
- enough free space for the file or a file creation error occurs, it
- is signaled by a lower tone.
-
- Next time, when Alt-Shift-Z is pressed in the correct mode, the name
- of the generated EPS file will be EGADUMP2.EPS, etc. continuing until
- after the files EGADUMP9.EPS and EGADUMP0.EPS. Now the next output
- file will be named EGADUMP1.EPS again, and the old file, if it
- exists, will be overwritten.
-
- The image on screen is coded to two binary levels which means that
- the background colour on screen will be white on paper and all the
- other colours will show as black. Even with this simple coding method
- the size of the output file will be almost 58 kilobytes.
-
-
- Application notes:
-
- The program requires that a hardware and software compatible EGA
- card is installed in the computer with 256 kilobytes of video RAM
- (which seems to be quite standard these days). The program has been
- briefly tested on three different IBM PC AT compatiple computers and
- no bugs have been found yet. The time to capture the screen to a hard
- disk on a 16 MHz 386-machine was around three seconds. The program
- can be removed from memory by using the MARK and RELEASE programs
- found in the net earlier this year.
-
- The screens of Gem Draw, Gem Paint, HyperSignal and some public
- domain programs have been successfully captured using EGA2EPS.
- The files have been successfully printed alone or incorporated
- in a document produced with Ventura Publisher 2.0.
-
-
- Distribution policy:
-
- The program has been released to the public domain and nobody is
- obliged to pay anything or has right to charge anybody for it. It
- can be freely copied as long as it is accompanied with the other
- files included in this arceive file.
-
-
-
- The program was created using Turbo Pascal, Copyright Borland
- International, 1987, 1988 and Turbo Professional, Copyright
- Turbo Power Software, 1987.
-